﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="kartrisNewsData" targetNamespace="http://tempuri.org/kartrisNewsData.xsd" xmlns:mstns="http://tempuri.org/kartrisNewsData.xsd" xmlns="http://tempuri.org/kartrisNewsData.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="1" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="KartrisSQLConnection" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="KartrisSQLConnection (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.KartrisSQLConnection.ConnectionString" Provider="System.Data.SqlClient" />
          <Connection AppSettingsObjectName="MySettings" AppSettingsPropertyName="kartrisSQLConnection" IsAppSettingsProperty="true" Modifier="Assembly" Name="kartrisSQLConnection (MySettings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Kartris.My.MySettings.GlobalReference.Default.kartrisSQLConnection" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="NewsTblAdptr" GeneratorDataComponentClassName="NewsTblAdptr" Name="News" UserDataComponentName="NewsTblAdptr">
            <MainSource>
              <DbSource ConnectionRef="KartrisSQLConnection (Web.config)" DbObjectName="" DbObjectType="Unknown" GenerateMethods="Get" GenerateShortCommands="false" GeneratorGetMethodName="_GetDataForCache" GetMethodModifier="Public" GetMethodName="_GetDataForCache" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="_GetDataForCache" UserSourceName="_GetDataForCache">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.[_spKartrisNews_GetForCache]</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="N_ID" DataSetColumn="N_ID" />
              <Mapping SourceColumn="LANG_ID" DataSetColumn="LANG_ID" />
              <Mapping SourceColumn="N_Name" DataSetColumn="N_Name" />
              <Mapping SourceColumn="N_Text" DataSetColumn="N_Text" />
              <Mapping SourceColumn="N_StrapLine" DataSetColumn="N_StrapLine" />
              <Mapping SourceColumn="N_DateCreated" DataSetColumn="N_DateCreated" />
              <Mapping SourceColumn="N_LastUpdated" DataSetColumn="N_LastUpdated" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="kartrisNewsData" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msdata:EnforceConstraints="False" msprop:Generator_UserDSName="kartrisNewsData" msprop:Generator_DataSetName="kartrisNewsData">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="News" msprop:Generator_UserTableName="News" msprop:Generator_RowDeletedName="NewsRowDeleted" msprop:Generator_RowChangedName="NewsRowChanged" msprop:Generator_RowClassName="NewsRow" msprop:Generator_RowChangingName="NewsRowChanging" msprop:Generator_RowEvArgName="NewsRowChangeEvent" msprop:Generator_RowEvHandlerName="NewsRowChangeEventHandler" msprop:Generator_TableClassName="NewsDataTable" msprop:Generator_TableVarName="tableNews" msprop:Generator_RowDeletingName="NewsRowDeleting" msprop:Generator_TablePropName="News">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="N_ID" msprop:Generator_UserColumnName="N_ID" msprop:Generator_ColumnPropNameInRow="N_ID" msprop:Generator_ColumnVarNameInTable="columnN_ID" msprop:Generator_ColumnPropNameInTable="N_IDColumn" type="xs:int" minOccurs="0" />
              <xs:element name="LANG_ID" msprop:Generator_UserColumnName="LANG_ID" msprop:Generator_ColumnPropNameInRow="LANG_ID" msprop:Generator_ColumnVarNameInTable="columnLANG_ID" msprop:Generator_ColumnPropNameInTable="LANG_IDColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="N_Name" msprop:Generator_UserColumnName="N_Name" msprop:Generator_ColumnPropNameInRow="N_Name" msprop:Generator_ColumnVarNameInTable="columnN_Name" msprop:Generator_ColumnPropNameInTable="N_NameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="N_Text" msprop:Generator_UserColumnName="N_Text" msprop:Generator_ColumnPropNameInRow="N_Text" msprop:Generator_ColumnVarNameInTable="columnN_Text" msprop:Generator_ColumnPropNameInTable="N_TextColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="N_StrapLine" msprop:Generator_UserColumnName="N_StrapLine" msprop:Generator_ColumnPropNameInRow="N_StrapLine" msprop:Generator_ColumnVarNameInTable="columnN_StrapLine" msprop:Generator_ColumnPropNameInTable="N_StrapLineColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="N_DateCreated" msprop:Generator_UserColumnName="N_DateCreated" msprop:Generator_ColumnPropNameInRow="N_DateCreated" msprop:Generator_ColumnVarNameInTable="columnN_DateCreated" msprop:Generator_ColumnPropNameInTable="N_DateCreatedColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="N_LastUpdated" msprop:Generator_UserColumnName="N_LastUpdated" msprop:Generator_ColumnPropNameInRow="N_LastUpdated" msprop:Generator_ColumnVarNameInTable="columnN_LastUpdated" msprop:Generator_ColumnPropNameInTable="N_LastUpdatedColumn" type="xs:dateTime" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>